package org.lql.chaos.core.exception.customize;

import lombok.AllArgsConstructor;

/**
 * @author: liangqinglong
 * @date: 2025-07-14 15:40
 * @description:
 **/
@AllArgsConstructor
public enum ErrorCode implements IErrorCode {

	CUSTOMIZE_EXCEPTION(10001, "自定义异常"),

	CUSTOMIZE_RUNTIME_EXCEPTION(10002, "自定义运行时异常"),

	CUSTOMIZE_ERROR(10003, "自定义错误");

	private final int code;

	private final String message;

	@Override
	public int getCode() {
		return code;
	}

	@Override
	public String getMessage() {
		return message;
	}
}
